home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / arp-pro1.3 / OLD_MANUAL / SendPacket < prev    next >
Text File  |  1990-06-22  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      SendPacket(31.0)      ARP Programmers Manual      SendPacket(31.0)
  5.  
  6.  
  7.  
  8.      NAME
  9.       SendPacket - Send a packet to    DOS.
  10.  
  11.      SYNOPSIS
  12.       Result1 = SendPacket(    Action,    Args, Handler)
  13.         d0              d0    a0    a1
  14.  
  15.      FUNCTION
  16.       Sends    an AmigaDOS packet to a    handler.  This function    will
  17.       Wait(), if necessary,    until the Handler returns the packet.
  18.       It cannot therefore be used for asynchronous I/O.  This
  19.       function uses    the processes message port, and    it will    call
  20.       the pr_PktWait function if this is installed.
  21.  
  22.      INPUTS
  23.       Action - the action you wish this packet to cause.
  24.  
  25.       Args - Pointer to an array of    seven long words which specify
  26.           the arguments    to send    with the packet.  This may be
  27.           NULL,    in which case the arguments will be set    to
  28.           zero.
  29.  
  30.       Handler - The    address    of the msgport of the handler you wish
  31.           to receive this packet.
  32.  
  33.      RESULT
  34.       Result1 - This function returns the result1 field of the
  35.           returned packet.  Res2 is available in register D1
  36.           for assembly language    programmers, or    by calling
  37.           IoErr().
  38.  
  39.      BUGS
  40.       None known.
  41.  
  42.      SEE ALSO
  43.      AUTOHR
  44.       SDB
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 2/22/88)
  64.  
  65.  
  66.  
  67.